package com.zbkj.dal.pojo.response.ba;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zbkj.dal.pojo.dto.AbstractUserDto;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class BookingResponse extends AbstractUserDto {
    private Integer id;

    private String name;

    private String phone;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime beginTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime endTime;

    private Integer merId;

    /**
     * 描述
     */
    private String description;

    /**
     * 0已提交，1已确认，2已取消
     */
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 平台操作人
     */
    private Integer operatorId;

    private String remark;

    private String merName;

    private String operatorName;
}
